/*!
    \copyright  Copyright (c) 2024 Qualcomm Technologies International, Ltd.
                All Rights Reserved.
                Qualcomm Technologies International, Ltd. Confidential and Proprietary.
    \file
    @{
        \ingroup    adkfs
        \brief      Handles AdkFs overall initialization. Checks that all providers have been initialized

*/
#include "adkfs_init.h"
#include "adkfs_provider_if.h"
#include "adkfs_provider_init.h"

#include <logging.h>
#include <message.h>

bool AdkFs_Init(Task app_init_task)
{
    DEBUG_LOG_ALWAYS("AdkFs_Init");
    AdkFs_ProviderInitSetAppInitTask(app_init_task, ADKFS_INIT_COMPLETE);

    /* Kick the provider init task in case all providers have completed initialisation */
    MessageSend(AdkFs_ProviderInitGetTask(), ADKFS_PROVIDER_INIT_MSGS_CHECK_ALL_PROVIDERS_COMPLETE, NULL);

    return TRUE;
}

bool AdkFs_InitComplete(Task init_task)
{
    UNUSED(init_task);
    return TRUE;
}
/*! @} */